package com.button.springboothdfs;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan({"bio.nvwa.boot.hdfs", "com.button.springboothdfs"})
public class SpringbootHdfsApplication {

    public static void main(String[] args) {
        // 自己的用户名
        System.setProperty("HADOOP_USER_NAME", "root");
        SpringApplication.run(SpringbootHdfsApplication.class, args);
    }

}
